package castledefense.logic;

public interface Targetable {

	public boolean isLife();

	public boolean isDot();

	public boolean isStun();

	public boolean isSlow() ;

	public int getStunTime();
	public int getSlowTime();

	public int getDotDuration();
	
	public boolean decreaseHealth(double damage, int element);
	
	public double getCenterX();
	
	public double getCenterY();
	
	public int getType();
	
	public boolean stunChance(int time, double chance);
	
	public void applyDot(int time, int howOften, double damagePerTick,
			int damageType);

	public boolean contains(double x, double y);

	public float getRenderingCenterX();

	public void slow(int duration, double upgradeLevelValue);

	public float getRenderingCenterY();
	
}
